css: Move default font handling
authorBenjamin Otte <otte@redhat.com>
Sat, 1 Dec 2012 00:49:06 +0000 (01:49 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 1 Dec 2012 00:49:06 +0000 (01:49 +0100)
commit1dd3ee6b594e7a9fe9aeca0be8c67aedada16764
tree9e02cea29a2959ba96d56b9125085cb370224160
parent3ff7f1fd43965d425f2e7fe81f9caa03f1fa97ea
css: Move default font handling

The default font is no longer handled like a custom style sheet that
overrides everything, but as the initial value. This is the same
behavior as in web browsers.

And it allows the theme to actually use the 'font-family' and
'font-size' properties. Of course, a well behaved theme will respect the
setting as much as possible and for example use relative font sizes
(which aren't yet supported, but will be soon).
gtk/gtkcssinitialvalue.c
gtk/gtksettings.c